﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for MerchantUserContact
/// </summary>
namespace CE.CarInsurance
{
    public class MerchantUserContact
    {
        public MerchantUserContact()
        {
            ClearFields();
        }

        private Int64 _contactid;
        private Int64 _ceid;
        private string _email;
        private string _mobile;
        private string _homepostcode;
        private string _officepostcode;
        private string _homeunitno;
        private string _officeunitno;
        private string _homelevelno;
        private string _officelevelno;
        private string _homestreet;
        private string _officestreet;
        private string _homefax;
        private string _officefax;
        private string _homephone;
        private string _officephone;
        private string _homecity;
        private string _homecountry;
        private string _officecity;
        private string _officecountry;

        private string _othercontact1;
        private string _othercontact2;

        //common field name
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;
        private Int64 _refceuserid;

        //extra field for future extend
        private string _info1;
        private string _info2;
        private string _info3;
        private string _info4;
        private string _info5;
        private string _info6;
        private string _info7;
        private string _info8;
        private string _info9;
        private string _info10;
        private string _info11;
        private string _info12;
        private string _info13;
        private string _info14;
        private string _info15;
        private string _info16;
        private string _info17;
        private string _info18;
        private string _info19;
        private string _info20;

        public Int64 ContactId
        {
            get { return _contactid; }
            set { _contactid = value; }
        }

        public Int64 CEID
        {
            get { return _ceid; }
            set { _ceid = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public string Mobile
        {
            get { return _mobile; }
            set { _mobile = value; }
        }

        public string HomePostCode
        {
            get { return _homepostcode; }
            set { _homepostcode = value; }
        }

        public string OfficePostCode
        {
            get { return _officepostcode; }
            set { _officepostcode = value; }
        }

        public string HomeUnitNo
        {
            get { return _homeunitno; }
            set { _homeunitno = value; }
        }

        public string OfficeUnitNo
        {
            get { return _officeunitno; }
            set { _officeunitno = value; }
        }

        public string HomeLevelNo
        {
            get { return _homelevelno; }
            set { _homelevelno = value; }
        }

        public string OfficeLevelNo
        {
            get { return _officelevelno; }
            set { _officelevelno = value; }
        }

        public string HomeStreet
        {
            get { return _homestreet; }
            set { _homestreet = value; }
        }

        public string OfficeStreet
        {
            get { return _officestreet; }
            set { _officestreet = value; }
        }

        public string HomeFax
        {
            get { return _homefax; }
            set { _homefax = value; }
        }

        public string OfficeFax
        {
            get { return _officefax; }
            set { _officefax = value; }
        }

        public string HomePhone
        {
            get { return _homephone; }
            set { _homephone = value; }
        }

        public string OfficePhone
        {
            get { return _officephone; }
            set { _officephone = value; }
        }

        public string HomeCity
        {
            get { return _homecity; }
            set { _homecity = value; }
        }

        public string HomeCountry
        {
            get { return _homecountry; }
            set { _homecountry = value; }
        }

        public string OfficeCity
        {
            get { return _officecity; }
            set { _officecity = value; }
        }

        public string OfficeCountry
        {
            get { return _officecountry; }
            set { _officecountry = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public string OtherContact1
        {
            get { return _othercontact1; }
            set { _othercontact1 = value; }
        }

        public string OtherContact2
        {
            get { return _othercontact2; }
            set { _othercontact2 = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public string Info1
        {
            get { return _info1; }
            set { _info1 = value; }
        }

        public string Info2
        {
            get { return _info2; }
            set { _info2 = value; }
        }

        public string Info3
        {
            get { return _info3; }
            set { _info3 = value; }
        }

        public string Info4
        {
            get { return _info4; }
            set { _info4 = value; }
        }

        public string Info5
        {
            get { return _info5; }
            set { _info5 = value; }
        }

        public string Info6
        {
            get { return _info6; }
            set { _info6 = value; }
        }

        public string Info7
        {
            get { return _info7; }
            set { _info7 = value; }
        }

        public string Info8
        {
            get { return _info8; }
            set { _info8 = value; }
        }

        public string Info9
        {
            get { return _info9; }
            set { _info9 = value; }
        }

        public string Info10
        {
            get { return _info10; }
            set { _info10 = value; }
        }

        public string Info11
        {
            get { return _info11; }
            set { _info11 = value; }
        }

        public string Info12
        {
            get { return _info12; }
            set { _info12 = value; }
        }

        public string Info13
        {
            get { return _info13; }
            set { _info13 = value; }
        }

        public string Info14
        {
            get { return _info14; }
            set { _info14 = value; }
        }

        public string Info15
        {
            get { return _info15; }
            set { _info15 = value; }
        }

        public string Info16
        {
            get { return _info16; }
            set { _info16 = value; }
        }

        public string Info17
        {
            get { return _info17; }
            set { _info17 = value; }
        }

        public string Info18
        {
            get { return _info18; }
            set { _info18 = value; }
        }

        public string Info19
        {
            get { return _info19; }
            set { _info19 = value; }
        }

        public string Info20
        {
            get { return _info20; }
            set { _info20 = value; }
        }

        public void ClearFields()
        {
            _ceid = 0;
            _refceuserid = 0;
            _contactid = 0;
            _email = "";
            _mobile = "";
            _homepostcode = "";
            _officepostcode = "";
            _homeunitno = "";
            _officeunitno = "";
            _homelevelno = "";
            _officelevelno = "";
            _homestreet = "";
            _officestreet = "";
            _homefax = "";
            _officefax = "";
            _homephone = "";
            _officephone = "";
            _homecity = "";
            _homecountry = "";
            _officecity = "";
            _officecountry = "";

            //common field name
            _status = false;
            _createddate = new DateTime(1900, 1, 1);
            _modifieddate = new DateTime(1900, 1, 1);

            _othercontact1 = ""; //not use
            _othercontact2 = ""; //not use

            //extra field for future extend
            _info1 = "";
            _info2 = "";
            _info3 = "";
            _info4 = "";
            _info5 = "";
            _info6 = "";
            _info7 = "";
            _info8 = "";
            _info9 = "";
            _info10 = "";
            _info11 = "";
            _info12 = "";
            _info13 = "";
            _info14 = "";
            _info15 = "";
            _info16 = "";
            _info17 = "";
            _info18 = "";
            _info19 = "";
            _info20 = "";
        }
    }
}
